home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
bbs
/
pprd199.zip
/
LPTCOM.ZIP
/
LPTCOM.DOC
next >
Wrap
Text File
|
1994-12-29
|
1KB
|
37 lines
I used to distribute a TSR called LPTCOM which diverted LPT output to
COM and honoured the XON/XOFF protocol. Unfortunately this had two
drawbacks:
1. It diverted all LPTx output, so it made no difference if you printed
to LPT1 or LPT2, it all went to COMx. This made it impossible to have
more than one printer if one was a serial printer.
2. Even if the above problem was fixed, LPTCOM blocked when XOFF was in
effect so no other work could be done while the printer buffer was full.
I have found a better alternative; it's called TSRCOMM. When installed
it drives the COM line in interrupt mode. It's used like this:
rem Install COM driver
tsrcomm
rem Set COM1 parameters
mode com1:9600,n,8,1,p
rem Bump speed to 19200 (stupid DOS mode command won't do it)
toadmod1 1 1
rem Divert LPT1 to COM1
mode com1=lpt1
rem Now run our PPRD server
pprd
I've also provided TOADMOD1, which is used to set a non-standard speed
like 19200. Remember that at 19200 baud, a character is expected by the
printer every 500 us or so which leaves little time for other work so
when you print a large file on the serial printer, other printers may
not get much service.
As far as I know, both programs are free. I got them from the Simtel20
PC archive.
Ken Yap
December 1994